import AppLayout from '@/core/components/layouts/AppLayout'
import TransactionComponent from '@/lib/transaction/components/Transaction'
import { useRouter } from 'next/router'

export default function Transaction() {
  const router = useRouter()

  return (
    <AppLayout title='Transaksi'>
      <TransactionComponent id={router.query.id} />
    </AppLayout>
  )
}
